<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>音乐在线播放器 - 学号姓名</title>
    <link rel="stylesheet" href="styles.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>音乐在线播放器</h1>
            <p class="student-info">学号：23215220327| 姓名：刘校羿</p>
        </header>

        <div class="player-container">
            <div class="album-art">
                <img id="cover" src="https://picsum.photos/300/300" alt="专辑封面">
            </div>

            <div class="player-controls">
                <div class="song-info">
                    <h2 id="song-title">歌曲名称</h2>
                    <p id="artist">艺术家</p>
                </div>

                <div class="progress-container">
                    <span id="current-time">0:00</span>
                    <input type="range" id="progress" value="0" class="progress">
                    <span id="duration">0:00</span>
                </div>

                <div class="controls">
                    <button id="prev" class="control-button"><i class="fas fa-backward"></i></button>
                    <button id="play" class="control-button play-button"><i class="fas fa-play"></i></button>
                    <button id="next" class="control-button"><i class="fas fa-forward"></i></button>
                </div>

                <div class="volume-container">
                    <i class="fas fa-volume-up"></i>
                    <input type="range" id="volume" min="0" max="1" step="0.01" value="0.7" class="volume">
                </div>
            </div>

            <div class="playlist-container">
                <h3>播放列表</h3>
                <ul id="playlist">
                    <!-- 歌曲列表将通过JavaScript动态生成 -->
                </ul>
            </div>
        </div>
    </div>

    <script src="script.js"></script>
</body>
</html>